package com.bstek.bdf2.core.orm;

import com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceBuilder;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Primary;

import javax.sql.DataSource;

/**
 * @Title: DataSourceRegisterConfig
 * @Package: com.bstek.bdf2.core.orm
 * @Description:
 * @Author: zxq
 * @Date: 2024/1/2 - 20:29
 */
//@Configuration
public class DataSourceRegisterConfiguration{

//    @Autowired
//    private DataSource dataSourceOne;
//
//    @Bean
//    public DataSourceRegister dataSourceRegister() {
//        DataSourceRegister dataSourceRegister = new DataSourceRegister();
//        dataSourceRegister.setDataSource(dataSourceOne);
//        dataSourceRegister.setName("hsql");
//        dataSourceRegister.setAsDefault(true);
//        return dataSourceRegister;
//    }





}
